package com.ruoyi.publish.mapper;

import java.util.List;
import java.util.Map;

public interface BrowseMapper {
  public   int insertRandom(int count);


 public List<Map<String, Object>> getTopColumns();

 public List<Map<String, Object>> getTop10Articles();
 /**
  * 查询日、周、月、年的浏览量统计
  * @return 统计结果，key 为 day/week/month/year，value 为对应浏览量
  */
 Map<String, Object> dayWeekMonthYear();
 public    List<Map<String, Object>> selectAllTraffic();

 public    List<Map<String, Object>> getTrafficByDay();
}
